package com.geekca.j2.override_test;

public class Test {
    public static void main(String[] args) {
        // 电话
        NewPhone phone = new NewPhone();
        phone.call();

        System.out.println("==================================");
        //动物
        Bird bird = new Bird();
        bird.name = "走地鸡";
        bird.run();

        Tiger tiger = new Tiger();
        tiger.name = "东北虎";
        tiger.run();
    }
}
